package com.qlzb.taskmanagement.vo.quartzVo;

//省用户信息
public class ProviceUser {
    //public static ProviceUser sc=new ProviceUser("四川","0001931","http://118.122.127.40:8989");
    public static ProviceUser sc=new ProviceUser("四川","0001931","http://180.153.49.130:9000");
    public static ProviceUser js=new ProviceUser("江苏","0001944","http://180.153.49.130:9000"); // http://58.213.164.26:8989
    public static ProviceUser gz=new ProviceUser("贵州","0098354","http://180.153.49.130:9000");
    public static ProviceUser hb=new ProviceUser("湖北","0001930","http://180.153.49.130:9000");
    public static ProviceUser gs=new ProviceUser("甘肃","0098360","http://180.153.49.130:9000");
    public static ProviceUser gx=new ProviceUser("广西","0098364","http://180.153.49.216:9000");
    public static ProviceUser sx=new ProviceUser("陕西","0098358","http://180.153.49.130:9000");
    public static ProviceUser cq=new ProviceUser("重庆","0001938","http://180.153.49.130:9000");
    public static ProviceUser jx=new ProviceUser("江西","0096766","http://180.153.49.216:9000");
    public static ProviceUser qh=new ProviceUser("青海","0098362","http://180.153.49.130:9000");
    public static ProviceUser xj=new ProviceUser("新疆","0098370","http://180.153.49.216:9000");
    public static ProviceUser xz=new ProviceUser("西藏","0098368","http://180.153.49.216:9000");
    public static ProviceUser tj=new ProviceUser("天津","0001931","http://180.153.49.130:9000");
    public static ProviceUser sd=new ProviceUser("山东","0001931","http://180.153.49.130:9000");
    //江苏 内网
    public static ProviceUser js_inner=new ProviceUser("江苏","0001944","http://172.17.1.20:8989");
    /**
     * 省名称
     */
    public String name;
    //省运维编号
    public  String proviceHidden;
    //省登录的运维系统
    public String hostName;
    //省运维系统的主机
    public  String host;
    //自定义的参数
    public AreaDefineParam[] areaDefineParam;
    public static ProviceUser getSc() {
        return sc;
    }

    public static void setSc(ProviceUser sc) {
        ProviceUser.sc = sc;
    }

    public static ProviceUser getJs() {
        return js;
    }

    public static void setJs(ProviceUser js) {
        ProviceUser.js = js;
    }

    public static ProviceUser getGz() {
        return gz;
    }

    public static ProviceUser getJx() {
        return jx;
    }

    public static ProviceUser getQh() {
        return qh;
    }

    public static void setQh(ProviceUser qh) {
        ProviceUser.qh = qh;
    }

    public static void setJx(ProviceUser jx) {
        ProviceUser.jx = jx;
    }

    public static void setGz(ProviceUser gz) {
        ProviceUser.gz = gz;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public ProviceUser(String name, String provideHidden, String hostName) {
        this.name=name;
        this.proviceHidden = provideHidden;
        this.hostName = hostName;
        host= hostName.replace("http://","");
    }
    public ProviceUser(String name, String provideHidden, String hostName, AreaDefineParam ...param ) {
        this.name=name;
        this.proviceHidden = provideHidden;
        this.hostName = hostName;
        this.areaDefineParam=param;
        host= hostName.replace("http://","");
    }
    public String getProviceHidden() {
        return proviceHidden;
    }

    public void setProviceHidden(String proviceHidden) {
        this.proviceHidden = proviceHidden;
    }

    public String getHostName() {
        return hostName;
    }

    public void setHostName(String hostName) {
        this.hostName = hostName;
    }
}
